SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 55606: Exporting from a table or graph to XLSX might fail in SAS® Web Report Studio

DetailsAboutRate It

In some circumstances, you cannot export from a table or graph to XLSX format. Specifically, when you export from a table, Microsoft Excel opens with the contents of the SAS® Logon Manager screen. When you export from a graph, you see the following error in your browser:

HTTP Status 500 - One of the arguments is either null or negative: null, 1,0
Type Exception report
Message: One of the arguments is either null or negative: null, 1,0
Description: The server encountered an internal error that prevented it from
fulfilling this request
Exception: com.sas.util.UncheckedException: One of the arguments is either null
or negative: null, 1,0
com.sas.export.office.commands.OLAPExcportToSCSXCommand.execute(OLAPExportToXLSX
Command)
...

This problem occurs if both of the following conditions are true:

  • The wrs.addReportNameToExport property is set to true.
  • When you attempt to export, the display of Applied Filters is turned off.

To resolve this issue, you can take one of the following steps:

To avoid this issue, you can export to XLS, CSV, or TSV instead of XLSX.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Web Report Studioz/OS4.31_M24.4_M39.3 TS1M29.4 TS1M3
Microsoft® Windows® for x644.31_M24.4_M39.3 TS1M29.4 TS1M3
64-bit Enabled AIX4.31_M24.4_M39.3 TS1M29.4 TS1M3
64-bit Enabled Solaris4.31_M24.4_M39.3 TS1M29.4 TS1M3
HP-UX IPF4.31_M24.4_M39.3 TS1M29.4 TS1M3
Linux for x644.31_M24.4_M39.3 TS1M29.4 TS1M3
Solaris for x644.31_M24.4_M39.3 TS1M29.4 TS1M3
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.